package com.huobi.event;

import org.springframework.context.ApplicationEvent;

import com.huobi.db.bean.HbLineData;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class LineDataEvent extends ApplicationEvent {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1758555567053912660L;

	public LineDataEvent(Object source) {
		super(source);
	}
	
	public HbLineData[] getData(){
		return (HbLineData[])this.getSource();
	}

}
